<?xml version="1.0"?>
<xsl:transform version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	
	<xsl:template match="head">
		<link href="lib/css/grid.css" media="screen" rel="stylesheet" type="text/css" />
		<link href="lib/css/default.css" media="screen" rel="stylesheet" type="text/css" />
		<link href="lib/css/text.css" media="screen" rel="stylesheet" type="text/css" />
		<xsl:apply-templates />
	</xsl:template>
	
	<xsl:template match="body">
		<div class="container container_3">
			<xsl:apply-templates />
		</div>
	</xsl:template>
	
	<xsl:template match="header">
		<xsl:attribute name="class">
			<xsl:value-of select="name()" /> grid_3
		</xsl:attribute>
		<xsl:apply-templates />
	</xsl:template>
	
	<xsl:template match="text[@class='header-text']">
		<xsl:attribute name="class">
			<xsl:value-of select="@class" /> grid_1 prefix_2 suffix_0
		</xsl:attribute>
		<xsl:apply-templates />
	</xsl:template>
	
	<xsl:template match="navi[@class='navi-main']">
		<xsl:attribute name="class">
			<xsl:value-of select="@class" /> grid_3
		</xsl:attribute>
		<xsl:apply-templates />
	</xsl:template>

</xsl:transform>